#include "NamedPipe.hpp"

// writer user
int main()
{
    namedPipe fifo(user);
    fifo.OpenPipeForWrite();
    std::string message;
    message.reserve(MAXSIZE);
    while (true)
    {
        std::cout << "please entry > ";
        std::getline(std::cin, message);
        fifo.WriteToFifo(message);
    }
    return 0;
}